package com.zyc.controller.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zyc
 * @create 2022-03-01-22:16
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据课程id查询课程信息
    @PostMapping("/eduucenter/getInfoUc/{id}")
    com.zyc.commonUtils.vo.UcenterMember getInfo(@PathVariable("id") String id);
}
